package com.yjn.blog.service;

import com.yjn.blog.model.UserModel;
import com.yjn.blog.model.http.UserReq;

import javax.validation.constraints.NotBlank;

/**
 * Classname: UserService
 * Package: com.yjn.blog.service
 * Description:
 *
 * @Author 余集楠
 * @Create 2024/7/16 0016 20:13
 * @Version 1.8
 */
public interface UserService {

   //注册
   Boolean regist(String username,String password);

   //登录
   UserModel login( UserReq req) throws Exception;

   //获取整条用户信息
   UserModel userInfo(String username);
}
